package com.zygh.lz.entity.app;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 司机拖车信息
 */
@Data
@ApiModel(value = "AppDumpTrailer对象", description = "司机拖车信息")
public class AppDumpTrailer implements Serializable {
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "拖车编号")
    private String code;

    @ApiModelProperty(value = "车牌号")
    private String vehiclePlate;

    @ApiModelProperty(value = "车辆类型")
    private String vehicleType;

    @ApiModelProperty(value = "停车场编号")
    private Integer parkCode;

    @ApiModelProperty(value = "停车场地址（因为有其他不确定地点需要存）")
    private String parkPlace;

    @ApiModelProperty(value = "拖车司机姓名")
    private String driverName;

    @ApiModelProperty(value = "拖车司机手机号")
    private String driverPhone;

    @ApiModelProperty(value = "所属支队")
    private Integer deptId;

    @ApiModelProperty(value = "经度：例如：113.684054违法坐标")
    private String longitude;

    @ApiModelProperty(value = "纬度：例如：34.808164")
    private String latitude;

    @ApiModelProperty(value = "状态 0：现场  1：上车  2：到地方")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    @ApiModelProperty(value = "最新修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtModified;


    @TableField(exist = false)
    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "警号")
    private String policeNum;


    @ApiModelProperty(value = "警员姓名")
    private String policeName;


    @ApiModelProperty(value = "车主电话")
    private String ownerPhone;

    @ApiModelProperty(value = "违停地址")
    private String illegalAddress;

    @ApiModelProperty(value = "是否高架(0:是   1：不是)")
    @TableField(exist = false)
    private Integer isElevated;

    @ApiModelProperty(value = "拖车原因（1：违停   2：特勤  3：故障  4：事故）")
    private Integer trailerReason;

    @ApiModelProperty(value = "拖车车牌号")
    @TableField(exist = false)
    private String licensePlate;

    @TableField(exist = false)
    @ApiModelProperty(value = "拖车司机上报记录审批状态0：待审批 1：待补充  2：通过 3：未通过 4：异常待审核")
    private Integer driverState;

    @TableField(exist = false)
    @ApiModelProperty(value = "是否删除(0：正常   1：删除)")
    private Integer isDel;

}
